package com.ruoyi.employment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 帮扶移交对象 t_hang_over
 * 
 * @author ruoyi
 * @date 2022-12-24
 */
public class THangOver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 移交人 */
    @Excel(name = "移交人")
    private String handOverPerson;

    /** 接手人 */
    @Excel(name = "接手人")
    private String inheritor;

    /** 移交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "移交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handTime;

    /** 帮扶任务名 */
    @Excel(name = "帮扶任务名")
    private String taskName;

    /** 移交备注 */
    @Excel(name = "移交备注")
    private String note;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHandOverPerson(String handOverPerson) 
    {
        this.handOverPerson = handOverPerson;
    }

    public String getHandOverPerson() 
    {
        return handOverPerson;
    }
    public void setInheritor(String inheritor) 
    {
        this.inheritor = inheritor;
    }

    public String getInheritor() 
    {
        return inheritor;
    }
    public void setHandTime(Date handTime) 
    {
        this.handTime = handTime;
    }

    public Date getHandTime() 
    {
        return handTime;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("handOverPerson", getHandOverPerson())
            .append("inheritor", getInheritor())
            .append("handTime", getHandTime())
            .append("taskName", getTaskName())
            .append("note", getNote())
            .toString();
    }
}
